package com.scu.baseline.pojo;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户表(User)实体类
 *
 * @author lotswn
 * @since 2022-06-14 14:37:48
 */
@ApiModel(value = "User",description = "用户表")
public class User implements Serializable {
    private static final long serialVersionUID = -51656707178976354L;
    /**
    * 用户表主键id
    */
	@ApiModelProperty(name = "id",notes = "用户表主键id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 用户名
    */
	@ApiModelProperty(name = "username",notes = "用户名",dataType = "String",required = true)
    private String username;
    /**
    * shiro存放的任意密码是32位长16进制码
    */
	@ApiModelProperty(name = "password",notes = "shiro存放的任意密码是32位长16进制码",dataType = "String",required = true)
    private String password;
    /**
    * 用户头像
    */
	@ApiModelProperty(name = "userimg",notes = "用户头像",dataType = "String",required = true)
    private String userimg;
    /**
    * 创建时间
    */
	@ApiModelProperty(name = "registertime",notes = "创建时间",dataType = "Date",required = true)
    private Date registertime;
    /**
    * 用户电话号
    */
	@ApiModelProperty(name = "userphone",notes = "用户电话号",dataType = "String",required = true)
    private String userphone;
    /**
    * 用户权限等级
    */
	@ApiModelProperty(name = "auth",notes = "用户权限等级",dataType = "Integer",required = true)
    private Integer auth;
    /**
    * 部门id

    */
	@ApiModelProperty(name = "departmentid",notes = "部门id ",dataType = "Integer",required = true)
    private Integer departmentid;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
        
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
        
    public String getUserimg() {
        return userimg;
    }

    public void setUserimg(String userimg) {
        this.userimg = userimg;
    }
        
    public Date getRegistertime() {
        return registertime;
    }

    public void setRegistertime(Date registertime) {
        this.registertime = registertime;
    }
        
    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }
        
    public Integer getAuth() {
        return auth;
    }

    public void setAuth(Integer auth) {
        this.auth = auth;
    }
        
    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }

}